package com.papercutting.platform;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;

/**
 * 中国剪纸展示平台主启动类
 */
@SpringBootApplication
@EnableJpaAuditing
@MapperScan({"com.papercutting.platform.repository", "com.papercutting.platform.mapper"})
public class PaperCuttingPlatformApplication {

    public static void main(String[] args) {
        SpringApplication.run(PaperCuttingPlatformApplication.class, args);
        System.out.println("==================================================");
        System.out.println("中国剪纸展示平台后端服务启动成功！");
        System.out.println("本地访问地址: http://localhost:8080");
        System.out.println("API文档地址: http://localhost:8080/doc.html");
        System.out.println("==================================================");
    }
}